package cate.game.activity.bosstrain.msg;

import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBBossTrain;
import easy.java.dev.note.NoteField;

public class BossTrainChallengeResultResp implements MsgOutput {
    @NoteField(value = "功能ID")
    public int funcId;

    @NoteField("是否胜利")
    public boolean win = true;

    @NoteField("总伤害")
    public double damage;

    public BossTrainChallengeResultResp() {
    }

    public BossTrainChallengeResultResp(int funcId, double damage) {
        this.funcId = funcId;
        this.damage = damage;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBBossTrain.BOSS_TRAIN_CHALLENGE_RESULT_RESP;
    }
}
